package com.rcw.commonlib;

import android.content.Context;


import com.rcw.swiperefreshrecyclerview.BaseAdapter;
import com.rcw.swiperefreshrecyclerview.ViewHolder;

import java.util.List;

/**
 * Created by ruancw on 2018/3/29.
 */

public  class RecyclerViewAdapter extends BaseAdapter {

    public RecyclerViewAdapter(Context context, List datas) {
        super(context, R.layout.recycler_item, datas);
    }

    @Override
    public void convert(ViewHolder holder, Object o,int position) {
        holder.setText(R.id.tv_message, (String) o);
    }
}
